export interface ResponseData<T> {
    code:string;
    message:string;
    data:T;
}

export type LoginParam = {
    cryptoStr:string;
    id:string;
    userType:string;
}

export type CryptoKeyResponse = {
    id:string;
    key:string;
}

export class User {
    account: string;
    password: string;

    constructor(account: string, password: string) {
        this.account = account;
        this.password = password;
    }
}